{% extends "learning_logs/base.html" %}
{% load bootstrap3 %}

{% block content %}
    <h2>登录</h2>
    <form class="form" method="post" action={% url 'users:login'  %} >
        {% csrf_token %}
        {% bootstrap_form form %}

        {% buttons %}
        <button class="btn btn-primary" name="submit">登录</button>
        {% endbuttons %}

        <input type="hidden" name="next" value="{% url 'learning_logs:index' %}" />
    </form>
{% endblock content %}
